<?php

namespace App\Modules\Admin\Entities\Expenses;

use App\Models\Model;
use App\Modules\Admin\Entities\Water\WaterDeviceModel;

class MasterModel extends Model
{
    protected $table='master';
    protected $primaryKey='master_id';

    public function water_device_info(){
        return $this->hasOne(WaterDeviceModel::class,'water_id','water_id')->select(['water_id','water_title']);
    }


}
